<?php /* Smarty version Smarty 3.1.4, created on 2012-05-06 16:12:16
         compiled from ".\templates\user\edituser.tpl" */ ?>
<?php /*%%SmartyHeaderCode:137114fa68c15cac3c9-04944863%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'dacd65801152f4d3f300eaef61302ad5625f63a6' => 
    array (
      0 => '.\\templates\\user\\edituser.tpl',
      1 => 1336320730,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '137114fa68c15cac3c9-04944863',
  'function' => 
  array (
  ),
  'version' => 'Smarty 3.1.4',
  'unifunc' => 'content_4fa68c15cea3a',
  'variables' => 
  array (
    'title' => 0,
    'user_arr' => 0,
    'creditorcheck' => 0,
    'options' => 0,
    'select' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_4fa68c15cea3a')) {function content_4fa68c15cea3a($_smarty_tpl) {?>
<div id="page-heading">
	<h1><?php echo $_smarty_tpl->tpl_vars['title']->value;?>
</h1>
</div>
<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['name'] = 'sec1';
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['user_arr']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total']);
?>

     

<table border="0" width="80%" cellpadding="0" cellspacing="0" id="product-table">
	<tr>
		<th colspan="2" align="left" class="table-header-repeat line-left"><img src="images/icons/add.png" />Add New</th>
	</tr>
       
	<tr>
		<td width="20%">Email</td>
		<td width="60%"><?php echo $_smarty_tpl->tpl_vars['user_arr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['user_email'];?>
</td>
	</tr>

	<tr>
		<td width="20%">Password</td>
		<td width="60%"><input type="password" name="user_passwd" id="user_passwd" value="" class="inp-form" style="width: 500px;" /></td>
	</tr>
	<tr>
		<td width="20%">Confirm Password</td>
		<td width="60%"><input type="password" name="confirm_user_passwd" id="confirm_user_passwd" value="" class="inp-form" style="width: 500px;" /></td>
	</tr>
        <tr>
		<td width="20%">Security Question</td>
		<td width="60%"><input type="text" name="secret_question" id="secret_question" value="<?php echo $_smarty_tpl->tpl_vars['user_arr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['secret_question'];?>
" class="inp-form" style="width: 500px;" /></td>
	</tr>
	  <tr>
		<td width="20%">Security Answer</td>
		<td width="60%"><input type="text" name="secret_answer" id="secret_answer" value="<?php echo $_smarty_tpl->tpl_vars['user_arr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['secret_answer'];?>
" class="inp-form" style="width: 500px;" /></td>
	</tr>
        <tr>
		<td width="20%">First Name</td>
		<td width="60%"><input type="text" name="user_firstname" id="user_firstname" value="<?php echo $_smarty_tpl->tpl_vars['user_arr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['user_firstname'];?>
" class="inp-form" style="width: 500px;" /></td>
	</tr>
	<tr>
		<td width="20%">Last Name</td>
		<td width="60%"><input type="text" name="user_lastname" id="user_lastname" value="<?php echo $_smarty_tpl->tpl_vars['user_arr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['user_lastname'];?>
" class="inp-form" style="width: 500px;" /></td>
	</tr>

        <tr class="business">
		<td width="20%">Designation</td>
		<td width="60%"><input type="text" name="Designation" id="Designation" value="<?php echo $_smarty_tpl->tpl_vars['user_arr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['Designation'];?>
" class="inp-form" style="width: 500px;" /></td>
	</tr>

        <tr class="business">
		<td width="20%">Company Name</td>
		<td width="60%"><input type="text" name="companyname" id="companyname" value="<?php echo $_smarty_tpl->tpl_vars['user_arr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['companyname'];?>
" class="inp-form" style="width: 500px;" /></td>
	</tr>
        <tr class="business">
		<td width="20%">Company Address</td>
		<td width="60%"><input type="text" name="companyaddress" id="companyaddress" value="<?php echo $_smarty_tpl->tpl_vars['user_arr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['companyaddress'];?>
" class="inp-form" style="width: 500px;" /></td>
	</tr>
        <tr class="business">
		<td width="20%">Tel No</td>
		<td width="60%"><input type="text" name="user_phone" id="user_phone" value="<?php echo $_smarty_tpl->tpl_vars['user_arr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['user_phone'];?>
" class="inp-form" style="width: 500px;" /></td>
	</tr>
        <tr class="business">
		<td width="20%">Fax:</td>
		<td width="60%"><input type="text" name="user_fax" id="user_fax" value="<?php echo $_smarty_tpl->tpl_vars['user_arr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['userfax'];?>
" class="inp-form" style="width: 500px;" /></td>
	</tr>
         <tr class="business">
		<td width="20%">Type Of Business:</td>
		<td width="60%"><input type="text" name="typeofbusiness" id="typeofbusiness" value="<?php echo $_smarty_tpl->tpl_vars['user_arr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['typeofbusiness'];?>
" class="inp-form" style="width: 500px;" /></td>
	</tr class="business">
        
         <tr class="business">
		<td width="20%">Industry:</td>
		<td width="60%"><input type="text" name="industry" id="industry" value="<?php echo $_smarty_tpl->tpl_vars['user_arr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['industry'];?>
" class="inp-form" style="width: 500px;" /></td>
	</tr>
         <tr class="business">
		<td width="20%">Preffered Payment:</td>
		<td width="60%"><input type="text" name="prefferedpayment" id="prefferedpayment" value="<?php echo $_smarty_tpl->tpl_vars['user_arr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['prefferedpayment'];?>
" class="inp-form" style="width: 500px;" /></td>
	</tr>
        <tr class="business">
		<td width="20%">Is Credit user?</td>
		<td width="60%"><input <?php echo $_smarty_tpl->tpl_vars['creditorcheck']->value;?>
  type="checkbox" name="iscreditor" id="iscreditor" value="1"/></td>
	</tr>
        <tr class="normal">
		<td width="20%">Profession:</td>
		<td width="60%"><input type="text" name="profession" id="profession" value="<?php echo $_smarty_tpl->tpl_vars['user_arr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['profession'];?>
" class="inp-form" style="width: 500px;" /></td>
	</tr>
        <tr class="normal">
		<td width="20%">Contact Address:</td>
		<td width="60%"><input type="text" name="user_address" id="user_address" value="<?php echo $_smarty_tpl->tpl_vars['user_arr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['user_address'];?>
" class="inp-form" style="width: 500px;" /></td>
	</tr>
        <tr class="normal">
		<td width="20%">NIC no:</td>
		<td width="60%"><input type="text" name="nicno" id="nicno" value="<?php echo $_smarty_tpl->tpl_vars['user_arr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['nicno'];?>
" class="inp-form" style="width: 500px;" /></td>
	</tr>
       <tr>
		<td>Status</td>
		<td><select name="cmbStatus" id="cmbStatus">
		<option  value="">Select Status</option>
		<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['sec2'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['name'] = 'sec2';
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['options']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['total']);
?>
		
		<option value="<?php echo $_smarty_tpl->tpl_vars['options']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec2']['index']]['val'];?>
" <?php echo $_smarty_tpl->tpl_vars['select']->value;?>
><?php echo $_smarty_tpl->tpl_vars['options']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec2']['index']]['dsc'];?>
</option>
		<?php endfor; endif; ?>
		</select>
		</td>
	</tr>
	
	<tr>
	<td>&nbsp;</td>
	<td><div class="edit-icoset"><input type="hidden" name="userid" id="userid" value="<?php echo $_smarty_tpl->tpl_vars['user_arr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['user_id'];?>
"   /><a href="javascript: void(0);" onclick="updateUser();"><img src="images/icons/save-2.gif" />Save</a></td>
	</tr>
</table>
 <?php endfor; endif; ?>
<?php }} ?>